package com.example.emos.api.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.*;

@Schema(description = "添加用户表单")
@Data
public class InsertBusinessForm {

    @NotBlank(message = "name不能为空")
    @Schema(description = "商家名称")
    private String name;


    @Schema(description = "电话")
    private String phone;


    @Schema(description = "address")
    private String address;

    @Schema(description = "busiId")
    private String busiId;

    @Schema(description = "contacts")
    private String contacts;

    @Schema(description = "创建时间")
    private String createTime;
    @Schema(description = "员工数量")
    private Integer staffCount;
    @Schema(description = "分店数量")
    private Integer shopCount;

    @Schema(description = "状态")
    private int status;
    @Schema(description = "统一资源Id")
    private String globalId;
}
